package com.tueye.service;

import java.util.List;

import com.tueye.base.util.Page;
import com.tueye.entity.ArticleTopic;
import com.tueye.service.exception.TuEyeServiceException;

public interface IArticleService {
	public Page pagedQueryByHQL(String hql,  int pageNo,  int pageSize,  Object... values)throws TuEyeServiceException;

	public void addArticle(ArticleTopic article) throws TuEyeServiceException;

	public ArticleTopic getArticleById(String id) throws TuEyeServiceException;

	public void delArticle(String id)throws TuEyeServiceException;
	
	public List<Object[]> getArticleTopicByTopic(String topicId)throws TuEyeServiceException;

	}
